package com.xindaoapp.happypet.activity;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.ViewInject;
import com.xindaoapp.happypet.R;

public class PetInfoActivity extends UMBaseActivity implements OnClickListener {
    @ViewInject(R.id.tittle_myattention_cancel)
    private ImageButton tittle_myattention_cancel;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_myattention);
        ViewUtils.inject(this);
        initClick();
    }

    private void initClick() {
        tittle_myattention_cancel.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.tittle_myattention_cancel:
                finish();
                break;
            default:
                break;
        }
    }
}
